<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATDataCore/ATViewport.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_4327875b5af0f0d2cd35b102dcf8c063.html">ATDataCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATViewport.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d2/d46/_a_t_viewport_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="keyword">struct </span>FitViewParams</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    ViewportP       m_viewport;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    XRotMatrixCP     m_rMatrix;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>    ATSceneP       m_modelIfNoViewport;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>    ATSceneRefListP m_fitList;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    <span class="keywordtype">bool</span>            m_fitRasterRefs;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>    <span class="keywordtype">bool</span>            m_rasterObjectsOnly;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>    <span class="keywordtype">bool</span>            m_includeTransients;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    <span class="keywordtype">bool</span>            m_useScanRange;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    <span class="keywordtype">bool</span>            m_fitMinDepth;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>    <span class="keywordtype">bool</span>            m_fitMaxDepth;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    <span class="keywordtype">bool</span>            m_onlyInFitList;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    <span class="keywordtype">bool</span>            m_ignoreCallouts;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    <span class="keywordtype">bool</span>            m_unused2;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    FitViewParams(ViewportP vp)</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        m_viewport = vp;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        m_rMatrix = NULL;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>        m_modelIfNoViewport = NULL;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>        m_fitList = NULL;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>        m_fitRasterRefs = m_rasterObjectsOnly = m_includeTransients = m_useScanRange = m_fitMinDepth = m_fitMaxDepth = m_onlyInFitList = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>        m_unused2 = m_ignoreCallouts = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    }</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>};</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="keyword">struct </span>ShadowHealState</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>{</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    <a class="code hl_struct" href="../../dc/dc7/struct_a_t_rect.html">ATRect</a>                     m_dirtyRect;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>    ViewFlags                   m_shadowListFlags;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    ViewDisplayOverrides        m_shadowListOverrides;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    <span class="keywordtype">bool</span>                        m_hasConfiguredDisplayStyleItem;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    ULong                       m_shadowHealStartTick;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    xvector&lt;ATSceneRefP&gt;       m_dirtyViewlets;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>    {</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>        <span class="keywordtype">unsigned</span>                m_displayForward : 1;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>        <span class="keywordtype">unsigned</span>                m_displayBackward : 1;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        <span class="keywordtype">unsigned</span>                m_displayCut : 1;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>        <span class="keywordtype">unsigned</span>                m_displayOutside : 1;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>        <span class="keywordtype">unsigned</span>                m_unused : 28;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    } m_dynamicRegionFlags;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    ShadowHealState();</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>};</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="keyword">enum class</span> ViewportResizeMode</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>{</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    KeepCurrent = 0,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>    RelativeRect = 1,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>    AspectRatio = 2,</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    Size = 3,</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    SizeAndPosition = 4,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>};</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html">   75</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../de/d02/struct_viewport.html">Viewport</a></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>{</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="keyword">private</span>: <span class="keyword">virtual</span> <span class="keywordtype">void</span> IAmAbstractClass() = 0;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    ATDATACORE_EXPORT StatusInt ChangeAreaFromFit(XPoint3dCR lowPt, XPoint3dCR highPt, <span class="keywordtype">bool</span> expandClippingPlanes, <span class="keywordtype">bool</span> forceCenterActiveZ);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#ac6cd6e9ae368aff3f8ef56573cf35fe2">   93</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#ac6cd6e9ae368aff3f8ef56573cf35fe2">ActiveToView</a>(XPoint3dP viewPts, XPoint3dCP activePts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a8d6044e22138845f78d836f4707214ed">  104</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> IViewDrawP   <a class="code hl_function" href="../../de/d02/struct_viewport.html#a8d6044e22138845f78d836f4707214ed">GetIViewDraw</a>();</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a616005665479a588eaf0b2af99f9ed2b">  115</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> XRotMatrixCP <a class="code hl_function" href="../../de/d02/struct_viewport.html#a616005665479a588eaf0b2af99f9ed2b">GetXRotMatrix</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#add90313fc00c9b63ed19a73768518ed5">  125</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> XPoint3dCP <a class="code hl_function" href="../../de/d02/struct_viewport.html#add90313fc00c9b63ed19a73768518ed5">GetScale</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a843ee3bc9aa42e5a45257dc7d03a5b85">  135</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> CameraParams <span class="keyword">const</span>* <a class="code hl_function" href="../../de/d02/struct_viewport.html#a843ee3bc9aa42e5a45257dc7d03a5b85">GetCameraRoot</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a1f470c6e6659624730a1dd4e6f8b5a31">  150</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> UInt32 <a class="code hl_function" href="../../de/d02/struct_viewport.html#a1f470c6e6659624730a1dd4e6f8b5a31">MakeTrgbColor</a>(<span class="keywordtype">int</span> red, <span class="keywordtype">int</span> green, <span class="keywordtype">int</span> blue, <span class="keywordtype">int</span> transparency);</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> GetViewBox(XPoint3dP pts, ATCoordSystem sys, <span class="keywordtype">bool</span> adjustedBox) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#ac156c0362c5fc5aa2b0147aba0216f96">  163</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#ac156c0362c5fc5aa2b0147aba0216f96">GetViewRect</a>(<a class="code hl_struct" href="../../dc/dc7/struct_a_t_rect.html">ATRect</a>&amp; rect) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#aba558dbfb5d1be812bbb4bc6f9f56fdc">  176</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#aba558dbfb5d1be812bbb4bc6f9f56fdc">RootToView</a>(XPoint4dP viewPts, XPoint3dCP rootPts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a1a04d0e901f027ca1a6c383d863bb4a0">  189</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a1a04d0e901f027ca1a6c383d863bb4a0">ViewToRoot</a>(XPoint3dP rootPts, XPoint4dCP viewPts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a9e3818c96dcec44884f264401a1944f2">  202</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a9e3818c96dcec44884f264401a1944f2">RootToView</a>(XPoint3dP viewPts, XPoint3dCP rootPts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a4badbc83653f7a5cdd4f709374aabd2d">  215</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a4badbc83653f7a5cdd4f709374aabd2d">ViewToRoot</a>(XPoint3dP rootPts, XPoint3dCP viewPts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a0f4d299121e4a9d1cdc08f8d47f241ad">  228</a></span>    ATDATACORE_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a0f4d299121e4a9d1cdc08f8d47f241ad">ViewToActive</a>(XPoint3dP activePts, XPoint3dCP viewPts, <span class="keywordtype">int</span> nPts) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a67844a7d5d844eb6abf6f145c5d3b2a5">  239</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a67844a7d5d844eb6abf6f145c5d3b2a5">IsCameraOn</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a2bdcb753fc36baeeed95a556b7db2b1a">  249</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a2bdcb753fc36baeeed95a556b7db2b1a">Is3dScene</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a44475bf58eb6e42ecbe16af99828c765">  259</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> ATSceneP <a class="code hl_function" href="../../de/d02/struct_viewport.html#a44475bf58eb6e42ecbe16af99828c765">GetRootScene</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#ab49d454954a03069738217012690ef53">  270</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> ATSceneRefP <a class="code hl_function" href="../../de/d02/struct_viewport.html#ab49d454954a03069738217012690ef53">GetTargetScene</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span> </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a0f81fcae0a907000e358e75b69e13534">  280</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> ATViewInfoCP <a class="code hl_function" href="../../de/d02/struct_viewport.html#a0f81fcae0a907000e358e75b69e13534">GetATViewInfoCP</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span> </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#ac68133c598bb497631332d9295cea383">  290</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> ATViewInfoP <a class="code hl_function" href="../../de/d02/struct_viewport.html#ac68133c598bb497631332d9295cea383">GetATViewInfoP</a>();</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span> </div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#acfc08f89c224d59f5e9925d32ff78948">  300</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#acfc08f89c224d59f5e9925d32ff78948">GetViewNumber</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span> </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a1130119c11e09f8d6094e67eabfe36a9">  312</a></span>    ATDATACORE_EXPORT <span class="keywordtype">double</span> <a class="code hl_function" href="../../de/d02/struct_viewport.html#a1130119c11e09f8d6094e67eabfe36a9">GetPixelSizeAtPoint</a>(XPoint3dCP rootPt, ATCoordSystem coordSys = ATCoordSystem::Root) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno">  313</span> </div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a4863210ac8dc9454c264b292406272c4">  324</a></span>    ATDATACORE_EXPORT <span class="keyword">inline</span> ATECStatus <a class="code hl_function" href="../../de/d02/struct_viewport.html#a4863210ac8dc9454c264b292406272c4">SynchWithATViewInfo</a>(<span class="keywordtype">bool</span> saveInUndo, <span class="keywordtype">bool</span> updateViewTitle);</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span> </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"><a class="line" href="../../de/d02/struct_viewport.html#a83af344d8dd26a68d25f466898ea1652">  338</a></span>    ATDATACORE_EXPORT StatusInt   <a class="code hl_function" href="../../de/d02/struct_viewport.html#a83af344d8dd26a68d25f466898ea1652">ComputeDisplayedSceneRefRange</a>(XRange3dR range, ATSceneRefP SceneRef, <span class="keywordtype">bool</span> includeChildren, FitViewParams&amp; fitParams);</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>};</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span> </div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span> </div>
<div class="ttc" id="astruct_a_t_rect_html"><div class="ttname"><a href="../../dc/dc7/struct_a_t_rect.html">ATRect</a></div><div class="ttdoc">矩形类</div><div class="ttdef"><b>Definition:</b> ATRect.h:12</div></div>
<div class="ttc" id="astruct_viewport_html"><div class="ttname"><a href="../../de/d02/struct_viewport.html">Viewport</a></div><div class="ttdoc">视口对象</div><div class="ttdef"><b>Definition:</b> ATViewport.h:76</div></div>
<div class="ttc" id="astruct_viewport_html_a0f4d299121e4a9d1cdc08f8d47f241ad"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a0f4d299121e4a9d1cdc08f8d47f241ad">Viewport::ViewToActive</a></div><div class="ttdeci">ATDATACORE_EXPORT void ViewToActive(XPoint3dP activePts, XPoint3dCP viewPts, int nPts) const</div><div class="ttdoc">将点坐标由视图坐标系转换为活跃坐标系</div></div>
<div class="ttc" id="astruct_viewport_html_a0f81fcae0a907000e358e75b69e13534"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a0f81fcae0a907000e358e75b69e13534">Viewport::GetATViewInfoCP</a></div><div class="ttdeci">ATDATACORE_EXPORT ATViewInfoCP GetATViewInfoCP() const</div><div class="ttdoc">获取视口信息</div></div>
<div class="ttc" id="astruct_viewport_html_a1130119c11e09f8d6094e67eabfe36a9"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a1130119c11e09f8d6094e67eabfe36a9">Viewport::GetPixelSizeAtPoint</a></div><div class="ttdeci">ATDATACORE_EXPORT double GetPixelSizeAtPoint(XPoint3dCP rootPt, ATCoordSystem coordSys=ATCoordSystem::Root) const</div><div class="ttdoc">同步视图信息</div></div>
<div class="ttc" id="astruct_viewport_html_a1a04d0e901f027ca1a6c383d863bb4a0"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a1a04d0e901f027ca1a6c383d863bb4a0">Viewport::ViewToRoot</a></div><div class="ttdeci">ATDATACORE_EXPORT void ViewToRoot(XPoint3dP rootPts, XPoint4dCP viewPts, int nPts) const</div><div class="ttdoc">将点坐标由视图坐标系转换为根坐标系</div></div>
<div class="ttc" id="astruct_viewport_html_a1f470c6e6659624730a1dd4e6f8b5a31"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a1f470c6e6659624730a1dd4e6f8b5a31">Viewport::MakeTrgbColor</a></div><div class="ttdeci">static ATDATACORE_EXPORT UInt32 MakeTrgbColor(int red, int green, int blue, int transparency)</div><div class="ttdoc">构造Trgb颜色</div></div>
<div class="ttc" id="astruct_viewport_html_a2bdcb753fc36baeeed95a556b7db2b1a"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a2bdcb753fc36baeeed95a556b7db2b1a">Viewport::Is3dScene</a></div><div class="ttdeci">ATDATACORE_EXPORT bool Is3dScene() const</div><div class="ttdoc">判断该视口的根场景是否是三维场景</div></div>
<div class="ttc" id="astruct_viewport_html_a44475bf58eb6e42ecbe16af99828c765"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a44475bf58eb6e42ecbe16af99828c765">Viewport::GetRootScene</a></div><div class="ttdeci">ATDATACORE_EXPORT ATSceneP GetRootScene() const</div><div class="ttdoc">获取该视口的根场景</div></div>
<div class="ttc" id="astruct_viewport_html_a4863210ac8dc9454c264b292406272c4"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a4863210ac8dc9454c264b292406272c4">Viewport::SynchWithATViewInfo</a></div><div class="ttdeci">ATDATACORE_EXPORT ATECStatus SynchWithATViewInfo(bool saveInUndo, bool updateViewTitle)</div><div class="ttdoc">同步视图信息</div></div>
<div class="ttc" id="astruct_viewport_html_a4badbc83653f7a5cdd4f709374aabd2d"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a4badbc83653f7a5cdd4f709374aabd2d">Viewport::ViewToRoot</a></div><div class="ttdeci">ATDATACORE_EXPORT void ViewToRoot(XPoint3dP rootPts, XPoint3dCP viewPts, int nPts) const</div><div class="ttdoc">将点坐标由视图坐标系转换为根坐标系</div></div>
<div class="ttc" id="astruct_viewport_html_a616005665479a588eaf0b2af99f9ed2b"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a616005665479a588eaf0b2af99f9ed2b">Viewport::GetXRotMatrix</a></div><div class="ttdeci">ATDATACORE_EXPORT XRotMatrixCP GetXRotMatrix() const</div><div class="ttdoc">返回视口旋转矩阵</div></div>
<div class="ttc" id="astruct_viewport_html_a67844a7d5d844eb6abf6f145c5d3b2a5"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a67844a7d5d844eb6abf6f145c5d3b2a5">Viewport::IsCameraOn</a></div><div class="ttdeci">ATDATACORE_EXPORT bool IsCameraOn() const</div><div class="ttdoc">判断当前相机是否启用</div></div>
<div class="ttc" id="astruct_viewport_html_a83af344d8dd26a68d25f466898ea1652"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a83af344d8dd26a68d25f466898ea1652">Viewport::ComputeDisplayedSceneRefRange</a></div><div class="ttdeci">ATDATACORE_EXPORT StatusInt ComputeDisplayedSceneRefRange(XRange3dR range, ATSceneRefP SceneRef, bool includeChildren, FitViewParams &amp;fitParams)</div><div class="ttdoc">计算视口中显示的场景引用的范围</div></div>
<div class="ttc" id="astruct_viewport_html_a843ee3bc9aa42e5a45257dc7d03a5b85"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a843ee3bc9aa42e5a45257dc7d03a5b85">Viewport::GetCameraRoot</a></div><div class="ttdeci">ATDATACORE_EXPORT CameraParams const * GetCameraRoot() const</div><div class="ttdoc">获取根坐标系统下该视口的相机参数</div></div>
<div class="ttc" id="astruct_viewport_html_a8d6044e22138845f78d836f4707214ed"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a8d6044e22138845f78d836f4707214ed">Viewport::GetIViewDraw</a></div><div class="ttdeci">ATDATACORE_EXPORT IViewDrawP GetIViewDraw()</div><div class="ttdoc">获取视口立即绘制所需的对象</div></div>
<div class="ttc" id="astruct_viewport_html_a9e3818c96dcec44884f264401a1944f2"><div class="ttname"><a href="../../de/d02/struct_viewport.html#a9e3818c96dcec44884f264401a1944f2">Viewport::RootToView</a></div><div class="ttdeci">ATDATACORE_EXPORT void RootToView(XPoint3dP viewPts, XPoint3dCP rootPts, int nPts) const</div><div class="ttdoc">将点坐标由根坐标系转换为视图坐标系</div></div>
<div class="ttc" id="astruct_viewport_html_ab49d454954a03069738217012690ef53"><div class="ttname"><a href="../../de/d02/struct_viewport.html#ab49d454954a03069738217012690ef53">Viewport::GetTargetScene</a></div><div class="ttdeci">ATDATACORE_EXPORT ATSceneRefP GetTargetScene() const</div><div class="ttdoc">获取该视口的当前目标场景</div></div>
<div class="ttc" id="astruct_viewport_html_aba558dbfb5d1be812bbb4bc6f9f56fdc"><div class="ttname"><a href="../../de/d02/struct_viewport.html#aba558dbfb5d1be812bbb4bc6f9f56fdc">Viewport::RootToView</a></div><div class="ttdeci">ATDATACORE_EXPORT void RootToView(XPoint4dP viewPts, XPoint3dCP rootPts, int nPts) const</div><div class="ttdoc">将点坐标由根坐标系转换为视图坐标系</div></div>
<div class="ttc" id="astruct_viewport_html_ac156c0362c5fc5aa2b0147aba0216f96"><div class="ttname"><a href="../../de/d02/struct_viewport.html#ac156c0362c5fc5aa2b0147aba0216f96">Viewport::GetViewRect</a></div><div class="ttdeci">ATDATACORE_EXPORT void GetViewRect(ATRect &amp;rect) const</div><div class="ttdoc">获取视口矩形</div></div>
<div class="ttc" id="astruct_viewport_html_ac68133c598bb497631332d9295cea383"><div class="ttname"><a href="../../de/d02/struct_viewport.html#ac68133c598bb497631332d9295cea383">Viewport::GetATViewInfoP</a></div><div class="ttdeci">ATDATACORE_EXPORT ATViewInfoP GetATViewInfoP()</div><div class="ttdoc">获取视口信息</div></div>
<div class="ttc" id="astruct_viewport_html_ac6cd6e9ae368aff3f8ef56573cf35fe2"><div class="ttname"><a href="../../de/d02/struct_viewport.html#ac6cd6e9ae368aff3f8ef56573cf35fe2">Viewport::ActiveToView</a></div><div class="ttdeci">ATDATACORE_EXPORT void ActiveToView(XPoint3dP viewPts, XPoint3dCP activePts, int nPts) const</div><div class="ttdoc">将给定点转换到视口</div></div>
<div class="ttc" id="astruct_viewport_html_acfc08f89c224d59f5e9925d32ff78948"><div class="ttname"><a href="../../de/d02/struct_viewport.html#acfc08f89c224d59f5e9925d32ff78948">Viewport::GetViewNumber</a></div><div class="ttdeci">ATDATACORE_EXPORT int GetViewNumber() const</div><div class="ttdoc">获取视口编号</div></div>
<div class="ttc" id="astruct_viewport_html_add90313fc00c9b63ed19a73768518ed5"><div class="ttname"><a href="../../de/d02/struct_viewport.html#add90313fc00c9b63ed19a73768518ed5">Viewport::GetScale</a></div><div class="ttdeci">ATDATACORE_EXPORT XPoint3dCP GetScale() const</div><div class="ttdoc">获取视口的XYZ缩放比例</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
